package com.mvc4g.example.mockup.client.view.widgets;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.VerticalPanel;

public class AboutWidget extends Composite {
	
	private Label title = new Label();
	private Label body = new Label();
	
	
	public AboutWidget(){
		VerticalPanel mainPanel = new VerticalPanel();
		mainPanel.add(title);
		mainPanel.add(body);
		initWidget(mainPanel);		
	}


	public void setTitle(String title) {
		this.title.setText(title);
	}


	public void setBody(String body) {
		this.body.setText(body);
	}
	
}
